public class TrueSpace {
  public long calculateSpace (int[] sizes, int clusterSize) {
    long trueSpace = 0;
    
    for ( int num : sizes ) {
          if ( num % clusterSize != 0 ){
          trueSpace += (num/clusterSize + 1)* clusterSize;
          } else if (num % clusterSize == 0)
          trueSpace += num;



          }
          return trueSpace;
  }
}